package org.shop.pro.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.shop.pro.entity.Shop;
@Mapper
public interface ShopMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Shop record);

    Shop selectByPrimaryKey(Integer id);

    List<Shop> selectAll();
    
    List<Shop> shoplist(List<Integer> ids);

    int updateByPrimaryKey(Shop record);
    
    List<Shop> selectShenhe();
    
    int shenheupd(int id);
    
    int zigeupd(int id);
    
    List<Shop> cartshoplist(int shopid);
}